﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SH.LMS.Biz.Interface;
using System.Data;
using System.Data.SqlClient;

using One.Framework.Data;

namespace SH.LMS.Biz
{
    public class StudentBusiness : IStudent
    {
        /// <summary>
        /// 수강신청 내역 조회
        /// </summary>
        /// <returns></returns>
        public DataTable getApplyList()
        {
            SqlHelper sheper = new SqlHelper();
            SqlParameter[] sParam = {
                DataHelper.SqlDBParameter("@UID", SqlDbType.Int, 0)
            };

            return sheper.Get_ExcuteDataSet("dbo.USP_", ref sParam, CommandType.StoredProcedure).Tables[0];
        }
    }
}